# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(nodeApiTestcase)

set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})

include_directories(${NATIVERENDER_ROOT_PATH}
                    ${NATIVERENDER_ROOT_PATH}/include)

add_subdirectory("2_function_arguments")
add_subdirectory("3_callbacks")
add_subdirectory("4_object_factory")
add_subdirectory("5_function_factory")
add_subdirectory("6_object_wrap")
add_subdirectory("7_factory_wrap")
add_subdirectory("8_passing_wrapped")
add_subdirectory("test_array")
add_subdirectory("test_bigint")
add_subdirectory("test_constructor")
#add_subdirectory("test_conversions") # 符号不支持
add_subdirectory("test_dataview")
add_subdirectory("test_date")
# add_subdirectory("test_error") # 符号不支持
add_subdirectory("test_exception")
add_subdirectory("test_function")
#add_subdirectory("test_general") # 符号不支持
add_subdirectory("test_handle_scope")
# add_subdirectory("test_instance_data") # 符号不支持
add_subdirectory("test_new_target")
add_subdirectory("test_number")
# add_subdirectory("test_object") # 符号不支持
add_subdirectory("test_promise")
# add_subdirectory("test_properties") # 符号不支持
# add_subdirectory("test_reference") # 符号不支持
add_subdirectory("test_reference_double_free")
# add_subdirectory("test_string") # 符号不支持
add_subdirectory("test_symbol")
add_subdirectory("test_typedarray") # 符号不支持